<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>dom</title>
	</head>
	<body>
		<div id="box">
			<a href="http://www.hebtu.edu.cn" id="link"><img src="img/5.webp" id="pic" alt=""></a>
		</div>
		<script>
			
			box.addEventListener('click',function(){
				
				//pic.setAttribute('src','img/1.jfif');
				link.href = "http://mzxy.hebtu.edu.cn";
				pic.src = "img/1.jfif";
			})
		</script>
	</body>
</html>